package com.datasync.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.datasync.common.annotation.Excel;
import com.datasync.common.core.domain.BaseEntity;

/**
 * 同步任务管理对象 s_sync_config
 * 
 * @author zwb
 * @date 2023-04-26
 */
public class SSyncConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long id;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String name;


    /** 任务名称 */
    @Excel(name = "同步类型")
    private Integer syncType;

    /** MySQL地址 */
    @Excel(name = "MySQL地址")
    private String mUrl;

    /** MySQL端口 */
    @Excel(name = "MySQL端口")
    private Integer mPort;

    /** MySQL库名 */
    @Excel(name = "MySQL库名")
    private String mSchema;

    /** MySQL账号 */
    @Excel(name = "MySQL账号")
    private String mUser;

    /** MySQL密码 */
    @Excel(name = "MySQL密码")
    private String mPass;

    /** ES连接协议 */
    @Excel(name = "ES连接协议")
    private String eHost;

    /** ES地址 */
    @Excel(name = "ES地址")
    private String eUrl;

    /** ES端口 */
    @Excel(name = "ES端口")
    private Integer ePort;

    /** ES账号 */
    @Excel(name = "ES账号")
    private String eUser;

    /** ES密码 */
    @Excel(name = "ES密码")
    private String ePass;

    @Excel(name = "映射类型")
    private String mappingType;

    /** 映射关系 */
    @Excel(name = "字段映射")
    private String syncData;

    /**
     * 过滤条件
     */
    @Excel(name = "过滤条件")
    private String filterate;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public Integer getSyncType() {
        return syncType;
    }

    public void setSyncType(Integer syncType) {
        this.syncType = syncType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setmUrl(String mUrl)
    {
        this.mUrl = mUrl;
    }

    public String getmUrl() 
    {
        return mUrl;
    }
    public void setmPort(Integer mPort) 
    {
        this.mPort = mPort;
    }

    public Integer getmPort() 
    {
        return mPort;
    }
    public void setmUser(String mUser) 
    {
        this.mUser = mUser;
    }

    public String getmSchema() {
        return mSchema;
    }

    public void setmSchema(String mSchema) {
        this.mSchema = mSchema;
    }

    public String getmUser()
    {
        return mUser;
    }
    public void setmPass(String mPass) 
    {
        this.mPass = mPass;
    }

    public String getmPass() 
    {
        return mPass;
    }
    public void seteHost(String eHost) 
    {
        this.eHost = eHost;
    }

    public String geteHost() 
    {
        return eHost;
    }
    public void seteUrl(String eUrl) 
    {
        this.eUrl = eUrl;
    }

    public String geteUrl() 
    {
        return eUrl;
    }
    public void setePort(Integer ePort) 
    {
        this.ePort = ePort;
    }

    public Integer getePort() 
    {
        return ePort;
    }
    public void seteUser(String eUser) 
    {
        this.eUser = eUser;
    }

    public String geteUser() 
    {
        return eUser;
    }
    public void setePass(String ePass) 
    {
        this.ePass = ePass;
    }

    public String getePass() 
    {
        return ePass;
    }

    public String getMappingType() {
        return mappingType;
    }

    public void setMappingType(String mappingType) {
        this.mappingType = mappingType;
    }

    public void setSyncData(String syncData)
    {
        this.syncData = syncData;
    }

    public String getSyncData() 
    {
        return syncData;
    }

    public String getFilterate() {
        return filterate;
    }

    public void setFilterate(String filterate) {
        this.filterate = filterate;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

}
